package com.example.demo.mapper;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Article;
import com.example.demo.entity.DTO.ArticleDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author DZHooo
 * @version 1.0
 * @date 2021/12/4 16:45
 * @description: TODO
 */

@Repository
public interface ArticleDTOMapper extends BaseMapper<ArticleDTO> {

    List<ArticleDTO> getAllArticleInfo();
}
